package com.ftg.product.exam.entity;

import java.util.Date;
import java.lang.Double;
import java.math.BigDecimal;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import java.util.List;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.FieldFill;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.diboot.core.binding.query.BindQuery;
import com.diboot.core.binding.query.Comparison;
import com.diboot.core.util.D;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
* 用来存储选择题，相应的选项，比如ABCDE等相应的选项 Entity定义
* @author kangjx
* @version 1.0
* @date 2021-01-14
* Copyright © ftg
*/
@ApiModel(value = "用来存储选择题，相应的选项，比如ABCDE等相应的选项")
@Getter @Setter @Accessors(chain = true)
public class ExamOptions extends BaseCustomEntity {
    private static final long serialVersionUID = 6144206984405971372L;

    /**
    * 所属类目 
    */
    @ApiModelProperty(value="所属类目", required = true, example = "1234567890")
    @NotNull(message = "所属类目不能为空")
    @TableField()
    private Long selcode;

    /**
    * 选项类目名称 
    */
    @ApiModelProperty(value="选项类目名称", example = "")
    @Length(max=100, message="选项类目名称长度应小于100")
    @TableField()
    private String optitle;

    /**
    * 是否正确答案(TF) 
    */
    @ApiModelProperty(value="是否正确答案(TF)", example = "")
    @Length(max=100, message="是否正确答案(TF)长度应小于100")
    @TableField()
    private String isright;


} 
